﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security;

namespace Is.Net.TVSchedule {


	public class Entry {

		DateTime time;
		string title;
		string desc;
		string duration;

		public Entry() {
			title = "";
			desc = "";
			duration = "";
		}

		public DateTime Time {

			get {
				return time;
			}
			set {
				time = value;
			}
		}
		public string Title {

			get {
				return title;
			}
			set {
				title = SecurityElement.Escape(value);
			}
		}
		public string Description {

			get {
				return desc;
			}
			set {
				desc = SecurityElement.Escape(value);
			}
		}

		public string Duration {
			get { return duration; }
			set { duration = value; }
		}
	}
}
